package com.dingwen.treasure.model.vo;

import com.dingwen.treasure.model.entity.mybatisplus.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 　LoginVO
 * 　@author dingwen
 * 　@date 2022/6/12
 */
@ApiModel(value = "LoginVO", description = "用户登录成功返回视图对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@SuppressWarnings("ALL")
public class LoginVo {

    /**
     * 用户信息
     */
    @ApiModelProperty(value = "用户信息")
    private SysUser sysUser;

    /**
     * token
     */
    @ApiModelProperty(value = "token")
    private String token;

    /**
     * 菜单、页面元素权限信息
     */
    @ApiModelProperty(value = "菜单、页面元素权限信息")
    private List<SysMenuVo> sysMenuVos;


}
